package com.haust.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @Auther: csp1999
 * @Date: 2020/11/23/17:27
 * @Description: 注册中心服务启动类
 */
@SpringBootApplication
// 开启 eureka server 服务端，可以接受别人注册进来~
@EnableEurekaServer
public class LeyouRegistryApplication {
    public static void main(String[] args) {
        SpringApplication.run(LeyouRegistryApplication.class);
    }
}
